/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package edu.mse.camel.client.whiteboard.gef.whiteboard;

import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.swt.graphics.RGB;


/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Shape</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link edu.mse.camel.client.whiteboard.gef.whiteboard.Shape#getX <em>X</em>}</li>
 *   <li>{@link edu.mse.camel.client.whiteboard.gef.whiteboard.Shape#getY <em>Y</em>}</li>
 *   <li>{@link edu.mse.camel.client.whiteboard.gef.whiteboard.Shape#getWidth <em>Width</em>}</li>
 *   <li>{@link edu.mse.camel.client.whiteboard.gef.whiteboard.Shape#getHeight <em>Height</em>}</li>
 *   <li>{@link edu.mse.camel.client.whiteboard.gef.whiteboard.Shape#getSourceConnections <em>Source Connections</em>}</li>
 *   <li>{@link edu.mse.camel.client.whiteboard.gef.whiteboard.Shape#getTargetConnections <em>Target Connections</em>}</li>
 *   <li>{@link edu.mse.camel.client.whiteboard.gef.whiteboard.Shape#getColor <em>Color</em>}</li>
 *   <li>{@link edu.mse.camel.client.whiteboard.gef.whiteboard.Shape#getText <em>Text</em>}</li>
 * </ul>
 * </p>
 *
 * @see edu.mse.camel.client.whiteboard.gef.whiteboard.WhiteboardPackage#getShape()
 * @model abstract="true"
 * @generated
 */
public interface Shape extends EObject {
	/**
	 * Returns the value of the '<em><b>X</b></em>' attribute.
	 * The default value is <code>"0"</code>.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>X</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>X</em>' attribute.
	 * @see #setX(int)
	 * @see edu.mse.camel.client.whiteboard.gef.whiteboard.WhiteboardPackage#getShape_X()
	 * @model default="0"
	 * @generated
	 */
	int getX();

	/**
	 * Sets the value of the '{@link edu.mse.camel.client.whiteboard.gef.whiteboard.Shape#getX <em>X</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>X</em>' attribute.
	 * @see #getX()
	 * @generated
	 */
	void setX(int value);

	/**
	 * Returns the value of the '<em><b>Y</b></em>' attribute.
	 * The default value is <code>"0"</code>.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Y</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Y</em>' attribute.
	 * @see #setY(int)
	 * @see edu.mse.camel.client.whiteboard.gef.whiteboard.WhiteboardPackage#getShape_Y()
	 * @model default="0"
	 * @generated
	 */
	int getY();

	/**
	 * Sets the value of the '{@link edu.mse.camel.client.whiteboard.gef.whiteboard.Shape#getY <em>Y</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Y</em>' attribute.
	 * @see #getY()
	 * @generated
	 */
	void setY(int value);

	/**
	 * Returns the value of the '<em><b>Width</b></em>' attribute.
	 * The default value is <code>"50"</code>.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Width</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Width</em>' attribute.
	 * @see #setWidth(int)
	 * @see edu.mse.camel.client.whiteboard.gef.whiteboard.WhiteboardPackage#getShape_Width()
	 * @model default="50"
	 * @generated
	 */
	int getWidth();

	/**
	 * Sets the value of the '{@link edu.mse.camel.client.whiteboard.gef.whiteboard.Shape#getWidth <em>Width</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Width</em>' attribute.
	 * @see #getWidth()
	 * @generated
	 */
	void setWidth(int value);

	/**
	 * Returns the value of the '<em><b>Height</b></em>' attribute.
	 * The default value is <code>"50"</code>.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Height</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Height</em>' attribute.
	 * @see #setHeight(int)
	 * @see edu.mse.camel.client.whiteboard.gef.whiteboard.WhiteboardPackage#getShape_Height()
	 * @model default="50"
	 * @generated
	 */
	int getHeight();

	/**
	 * Sets the value of the '{@link edu.mse.camel.client.whiteboard.gef.whiteboard.Shape#getHeight <em>Height</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Height</em>' attribute.
	 * @see #getHeight()
	 * @generated
	 */
	void setHeight(int value);

	/**
	 * Returns the value of the '<em><b>Source Connections</b></em>' containment reference list.
	 * The list contents are of type {@link edu.mse.camel.client.whiteboard.gef.whiteboard.Connection}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Source Connections</em>' containment reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Source Connections</em>' containment reference list.
	 * @see edu.mse.camel.client.whiteboard.gef.whiteboard.WhiteboardPackage#getShape_SourceConnections()
	 * @model containment="true"
	 * @generated
	 */
	EList<Connection> getSourceConnections();

	/**
	 * Returns the value of the '<em><b>Target Connections</b></em>' reference list.
	 * The list contents are of type {@link edu.mse.camel.client.whiteboard.gef.whiteboard.Connection}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Target Connections</em>' reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Target Connections</em>' reference list.
	 * @see edu.mse.camel.client.whiteboard.gef.whiteboard.WhiteboardPackage#getShape_TargetConnections()
	 * @model
	 * @generated
	 */
	EList<Connection> getTargetConnections();
	/**
	 * Returns the value of the '<em><b>Color</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Color</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Color</em>' attribute.
	 * @see #setColor(RGB)
	 * @see edu.mse.camel.client.whiteboard.gef.whiteboard.WhiteboardPackage#getShape_Color()
	 * @model dataType="edu.mse.camel.client.whiteboard.gef.whiteboard.RGB"
	 * @generated
	 */
	RGB getColor();

	/**
	 * Sets the value of the '{@link edu.mse.camel.client.whiteboard.gef.whiteboard.Shape#getColor <em>Color</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Color</em>' attribute.
	 * @see #getColor()
	 * @generated
	 */
	void setColor(RGB value);

	/**
	 * Returns the value of the '<em><b>Text</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Text</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Text</em>' attribute.
	 * @see #setText(String)
	 * @see edu.mse.camel.client.whiteboard.gef.whiteboard.WhiteboardPackage#getShape_Text()
	 * @model
	 * @generated
	 */
	String getText();

	/**
	 * Sets the value of the '{@link edu.mse.camel.client.whiteboard.gef.whiteboard.Shape#getText <em>Text</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Text</em>' attribute.
	 * @see #getText()
	 * @generated
	 */
	void setText(String value);

} // Shape
